import request from '@/plugins/axios/request';
let baseURL = process.env.VUE_APP_BASE_API + "/systemLog"
let baseURL_1 = process.env.VUE_APP_BASE_API + "/tech-monitor-log"

export function getSystemLogList(data) {
  return request({
    url: `${baseURL}/getSystemLogList`,
    method: 'post',
    data: data
  })
}

export function getSystemLog(data) {
  return request({
    url: `${baseURL}/getSystemLog`,
    method: 'post',
    data: data
  })
}

export function getOperationLogList(data) {
  return request({
    url: `${baseURL}/getOperationLogList`,
    method: 'post',
    data: data
  })
}

export function devLog(data) {
  return request({
    url: `${baseURL_1}/list`,
    method: 'post',
    data: data
  })
}

export function updateDevLog(data) {
  return request({
    url: `${baseURL_1}/update`,
    method: 'post',
    data: data
  })
}